package dockyin.action.pattern.visitor;

public class Visitor1 implements IVisitor {
    @Override
    public void visit(ISubject subject) {
        System.out.println("Visitor1 can read subject data:\t" + subject.getData());
    }
}
